﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// AT_ActiveMonitorItem:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class AT_ActiveMonitorItem
    {
        public AT_ActiveMonitorItem()
        { }
        #region Model
        private long _id = 0;
        private long _companyid = 0;
        private DateTime _createtime = DateTime.Now;
        private long _createby = 0;
        private DateTime _updatetime = DateTime.Now;
        private long _updateby = 0;
        private int _status = 0;
        private long _dcodeid = 0;
        private long _provid = 0;
        private long _cityid = 0;
        private long _countyid = 0;
        private string _prodno = "";
        private long _prodid = 0;
        private long _skuid = 0;
        private long _bacthnoid = 0;
        private long _supplierid = 0;
        private long _salerid = 0;
        private long _truesalerid = 0;
        private string _result = "";
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long UpdateBy
        {
            set { _updateby = value; }
            get { return _updateby; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 执法单据id
        /// </summary>
        public long DcodeId
        {
            set { _dcodeid = value; }
            get { return _dcodeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long ProvId
        {
            set { _provid = value; }
            get { return _provid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CountyId
        {
            set { _countyid = value; }
            get { return _countyid; }
        }
        /// <summary>
        /// 产品追溯码
        /// </summary>
        public string ProdNo
        {
            set { _prodno = value; }
            get { return _prodno; }
        }
        /// <summary>
        /// 产品id
        /// </summary>
        public long ProdId
        {
            set { _prodid = value; }
            get { return _prodid; }
        }
        /// <summary>
        /// 产品规格
        /// </summary>
        public long SkuId
        {
            set { _skuid = value; }
            get { return _skuid; }
        }
        /// <summary>
        /// 产品批次id
        /// </summary>
        public long BacthNoId
        {
            set { _bacthnoid = value; }
            get { return _bacthnoid; }
        }
        /// <summary>
        /// 生产单位
        /// </summary>
        public long SupplierId
        {
            set { _supplierid = value; }
            get { return _supplierid; }
        }
        /// <summary>
        /// 系统去向
        /// </summary>
        public long SalerId
        {
            set { _salerid = value; }
            get { return _salerid; }
        }
        /// <summary>
        /// 实际去向
        /// </summary>
        public long TrueSalerId
        {
            set { _truesalerid = value; }
            get { return _truesalerid; }
        }
        /// <summary>
        /// 执法结果
        /// </summary>
        public string result
        {
            set { _result = value; }
            get { return _result; }
        }
        #endregion Model
        #region [扩展类]
        //产品名
        public string ProductName { set; get; }
        //系统去向单位名
        public string SalerName { set; get; }

        //实际单位名
        public string TrueSalerName { set; get; }
       
        #endregion
    }
}
